﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyHttp.mvc.model
{
    public class Column
    {
        public enum TypeEnum
        {
            TYPE_INT32, TYPE_INT64, TYPE_INT16, TYPE_INT8,
            TYPE_UINT32, TYPE_UINT64, TYPE_UINT16, TYPE_UINT8,
            TYPE_FLOAT, TYPE_DOUBLE, TYPE_DECIMAL, TYPE_STRING,
            TYPE_DATETIME, TYPE_DATE, TYPE_TIME, TYPE_BINARY, TYPE_JSON
        };
        
        protected String _name;
        protected TypeEnum _type;
        protected bool _notNull, _autoCreated, _autoUpdated;
        protected Object _default;
    }
}
